 package com.cxl.pattern.mediator;
 
 public class ConcreteMediator extends Mediator
 {
   private ColleagueA ca;
   private ColleagueB cb;
 
   public ConcreteMediator()
   {
     this.ca = new ColleagueA();
     this.cb = new ColleagueB();
   }
 
   public void notice(String content)
   {
     if ("first".equals(content)) {
       this.ca.action(content);
     }
     if ("second".equals(content))
       this.cb.action(content);
   }
 }

/* Location:           E:\work\eclipse3.6_\workspace\design_pattern\
 * Qualified Name:     com.cxl.pattern.mediator.ConcreteMediator
 * JD-Core Version:    0.6.1
 */